package com.hznu.stmanage.entity;

import com.hznu.stmanage.beans.EntitySupport;

import java.util.Date;

/**
 * 日志
 */
public class Log extends EntitySupport {
    private Long id;//日志表id

    private Integer ownertype;//日志所属人类型

    private Long ownerid;//日志所属人id

    private String content;//日志内容

    private Date date;//动作时间

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getOwnertype() {
        return ownertype;
    }

    public void setOwnertype(Integer ownertype) {
        this.ownertype = ownertype;
    }

    public Long getOwnerid() {
        return ownerid;
    }

    public void setOwnerid(Long ownerid) {
        this.ownerid = ownerid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}